package com.sinodata.bsm.center.dao.impl;

import org.springframework.stereotype.Repository;

import com.sinodata.bsm.center.dao.BaseDao;
import com.sinodata.bsm.center.dao.ResAttrValHisDao;

@Repository
public class ResAttrValHisDaoImpl extends BaseDao implements ResAttrValHisDao {

    @Override
    public void deleteByResId(Long resId) {
        String hql = "delete from ResAttrValHis where resId=" + resId.longValue();
        getSession().createQuery(hql).executeUpdate();

    }

}
